<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>伪元素选择器</title>
		<style type="text/css">
			p:first-letter{
				font-size:80px;
			}
			p:before{
				content: "开始：";
				color: blue;
			}
			p:after{
				content: "这是一个块元素";
				display: block;
				width: 100px;
				height: 100px;	
				background-color: red;
			}
		</style>
	</head>
	<body>
		<p>在段前加入开始，在段后加入一个块元素</p>
	</body>
</html>
